Skip to content

Conversation

Spomky
Copy link
Contributor

@Spomky Spomky commented Feb 13, 2025

Fix #20640

The role_fetcher option allows defining a service to fetch user roles from the LDAP server by implementing RoleFetcherInterface. This option was introduced in Symfony 7.3, and it supersedes default_roles when set. The MemberOfRoles implementation can be used to retrieve roles from the ismemberof attribute.

The `role_fetcher` option allows defining a service to fetch user roles from the LDAP server by implementing `RoleFetcherInterface`. This option was introduced in Symfony 7.3, and it supersedes `default_roles` when set. The `MemberOfRoles` implementation can be used to retrieve roles from the `ismemberof` attribute.
@javiereguiluz javiereguiluz merged commit 45ebcad into symfony:7.3 Feb 14, 2025
3 checks passed
@javiereguiluz
Copy link
Member

Thanks Florent!

@Spomky Spomky deleted the features/ldap-roles branch May 1, 2025 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Security] Ability to add roles in form_login_ldap by ldap group

4 participants